#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["MouseChshLogicErrMsg"]

import enum
from enum import unique


@unique
class MouseChshLogicErrMsg(enum.IntEnum):
	CheckTokenOK = 10000
	CheckTokenNeedToken = 10001

	def text(item):
		if (item == MouseChshLogicErrMsg.CheckTokenOK):
			return 'Token有效'
		if (item == MouseChshLogicErrMsg.CheckTokenNeedToken):
			return '检查Token是否有效却不传token字段'
		return super().text()
